package com.liuyu.common.framework.common.constant;

import java.math.BigDecimal;

/**
 * @author LiuYu
 * @Project:ineplatform-receivable
 * @Title:本项目的常量
 * @ClassName:SelfConstants
 * @Description:本项目的常量
 * @date 2019/9/5 17:44
 * @Copyright:liuyu
 * @version:V1.0
 */
public class SelfConstants {


    /**
     * @description 独占标志位
     * @author liuyu
     * @date 2020/4/9 19:59
     * @param null
     * @return
     */
    public static final String EXCLUSIVE = "1";

    /**
     * @description 项目代码
     */
    public static final String APP_ID = "esale";

    /*
     * @description 本地内存中保存规则的天数
     * @author Lijialiang
     * @date 2020/5/11 12:02
     * @param null
     * @return
     */
    public static final Integer CACHE_PLAN_DAYS = 3;

    /*
     * @description 订单的有效天数
     * @author Lijialiang
     * @date 2020/5/11 12:02
     * @param null
     * @return
     */
    public static final Integer CART_VALID_DAYS = 2;

    public static class DecisiveFlag {

        public static final Integer YES = 1;
    }

    public static class ConType {

        /**
         *
         */
        public static final Integer EDIT_YES = 1;
        /**
         *
         */
        public static final Integer EDIT_NO = 1;
    }

    ;

    /**
     * 批改
     */
    public class HandleStatus {

        public static final String NORMAL = "0";
        public static final String RECEIVABLE_HAD = "1";
        public static final String COMPLETE = "2";
    }

    public class ClaimPayType {
        /**
         * 投保人
         */
        public static final String APPLINAME = "0";
        /**
         * 被保险人
         */
        public static final String INSUREDNAME = "1";
        /**
         * 转让
         */
        public static final String TRANSFER = "2";
        /**
         * 其他
         */
        public static final String OTHER = "3";
    }

    public class ResponseResult {
        /**
         * 没有权限
         */
        public static final String HAVE_NOT_PERMISSION = "1020";


        /**
         * 投保信息不存在
         */
        public static final String APPLYINFO_NOT_EXISTS = "10010";

        /**
         * 导入错误
         */
        public static final String EXPORT_ERROR = "10020";

        /**
         * 导入文件信息错误
         */
        public static final String EXPORT_INFO_ERROR = "10030";
    }


    public class payType {

        /**
         * 扫码支付
         */
        public static final String PAY_ONLINE = "0";
        /**
         * 转账支付
         */
        public static final String PAY_TRANSFER = "1";
        public static final String PAY_ON_COMPANY = "2";
        public static final String PAY_ON_SHOP = "3";
    }

    public class payFlag {
        /**
         * 待支付
         */
        public static final String PAY_ON = "0";
        /**
         * 支付完成
         */
        public static final String PAY_OFF = "1";
        /**
         * 支付待确认
         */
        public static final String PAY_ON_OFF = "2";
    }


    public class Version {
        /**
         * 版本名称
         */
        public static final String NAME = "v1.0.0";
        /**
         * 版本代码
         */
        public static final int VALUE = 1;
    }

    public class FailFlag {

        public static final String YES = "1";
        public static final String NO = "0";

        /**
         * 机动余额汇总
         */
        public static final String DISTRIBUTION_SUM = "1";
    }

    ;

    public class CollectionMode {
        /**
         * 直接结果
         */
        public static final String COLLECT_SELF = "0";

        /**
         * 分发汇总
         */
        public static final String DISTRIBUTION_SUM = "1";
        /**
         * 分发
         */
        public static final String DISTRIBUTION = "2";
    }

    public class CollectionType {
        /**
         * 直接结果
         */
        public static final String DIRECT = "1";

        public static final String INDIRECT = "0";

    }

    public class WorkFlowProcess {
        /**
         * 申请
         */
        public static final String APPLY_TRAIN = "applyTrain";

    }


    public static final String avater = "http://img.woyaogexing.com/2016/06/01/2d6b47d1e5e32cc8!200x200.jpg";

    /**
     * int 的0 值
     */
    public static final Integer ZERO = 0;

    /**
     * 课程发布标志位
     */
    public class PublicFlag {
        /**
         * 未发布
         */
        public static final String UNPUBLIC = "0";
        /**
         * 发布
         */
        public static final String PUBLIC = "1";
    }


    /**
     * bigdecimal zero
     */
    public static final BigDecimal BIG_DECIMAL_ZERO = BigDecimal.ZERO;

    public class CourseType {
        /**
         * 视频
         */
        public static final String video = "0";
        /**
         * ppt
         */
        public static final String PPT = "1";
    }


    /**
     * 推荐等级
     */
    public class RecommendedLevel {
        /**
         * 普通
         */
        public static final String COMMON = "0";
        /**
         * 推荐
         */
        public static final String RECOMMENDED = "1";
        /**
         * 精品
         */
        public static final String CBOUTIQUE = "2";

    }


    /**
     * 有效性
     */
    public class ValidStatus {
        /**
         * 无效
         */
        public static final String INVALID = "0";
        /**
         * 有效
         */
        public static final String VALID = "1";
    }

    /**
     * session
     */
    public class Session {
        /**
         * 用户代码
         */
        public static final String USERCODE = "userCode";
        /**
         * 用户名
         */
        public static final String USERNAME = "userName";
        /**
         * 归属机构
         */
        public static final String ComCode = "comCode";

        /**
         * 菜单
         */
        public static final String MENU = "menu";

        /**
         * 菜单
         */
        public static final String MENUS = "menu";
        public static final String DISPLAYMENU = "menus";
    }

    /**
     * 导航
     */
    public static final String BREADCRUMB = "breadcrumbs";

    /**
     * 审核状态
     */
    public class UnderWriteFlag {
        /**
         * 初始状态
         */
        public static final String NORMAL = "0";
        /**
         * 审核通过
         */
        public static final String PASS = "1";
        /**
         * 待审核
         */
        public static final String SUBMIT = "2";
        /**
         * 取消
         */
        public static final String CANCEL = "3";

        /**
         * 审核不通过
         */
        public static final String NO_PASS = "5";


    }


    /**
     * 国际化语言
     */
    public class Language {
        /**
         * 中文简体
         */
        public static final String zh_CN = "zh-CN";
        /**
         * 英文
         */
        public static final String en = "en";
    }

    /**
     * 缓存管理器名称
     */
    public class CacheManagerName {
        /**
         * 公共代码
         */
        public static final String COMMONCODE = "commonCode";

        public static final String OCCUPATION = "occupation";
        public static final String OCCUPATION_CATEGORY = "occupation_category";

        public static final String API = "openApi";

        public static final String PRODUCE_INFO = "produceinfo";
        public static final String PRODUCE_CODE = "producecode";
        public static final String PRODUCEMIX_DETAIL = "producemix_detail";
        /**
         * 用户代码获取appkey
         */
        public static final String USERCODE_TO_APPKEY = "usercode_to_appkey";

        /**
         * 自报单数量
         */
        public static final String CHILD_POLICY_MAX_COUNT = "child_policy_max_count";


        /**
         * 当前的保单数量
         */
        public static final String CHILD_POLICY_CURRENT_COUNT = "child_policy_current_count";

        /**
         * 额外保单
         */
        public static final String EXTEND_POLICYNO = "extend_policyNo";

        /**
         * 获取当前驾校的第一份保单信息
         */
        public static final String MONTH_FIRST_POLICYNO = "Month_first_policyNo";


        /**
         * 机构礼品库存清单
         */
        public static final String MAP_KEY_COMCODE_GOODS_STOCK_LIST = "esale:goodslist:";
        /**
         * 对象
         */
        public static final String FIELD_KEY_GROUP_CART_GOODS = "esale:cartgoods:";
        /**
         * 所有库存列表{key: 库存id, value: 当前库存数}
         */
        public static final String STRING_KEY_GOODS_STOCK = "esale:{stock}:goodsstock:";
        /**
         * 用户购物车 由于库存和购物车数量是同时操作， 在redis 集群环境下，需要使用{}使key两个map的对象放到相同slot 下，否则会出现  CROSSSLOT Keys in request don't hash to the same slot
         */

        public static final String MAP_KEY_USER_CART = "esale:{business}cart";
        /**
         * 库存
         */
        public static final String FIELD_KEY_GROUP_GOODS_STOCK = "esale:goodsstock:";
        /**
         * 用户购物车产品
         */
        public static final String FIELD_KEY_USER_CART_GOODS = "esale:ucg:";
        public static final String MAP_KEY_GROUP_GOODS = "esale:group:goods:";

        public static final String MAP_KEY_USER = "esale:user:";

        public static final String FIELD_KEY_USER_DEP = "esale:dep:";
        /**
         *
         */
        public static final String CONFIG_TYPE = "esale:config:";

        /**
         * 操作相关命名空间
         */
        public static final String MAP_KEY_OPERATE = "esale:operate:";
        public static final String FIELD_KEY_OPERATE_RELEASESTOCK = "esale:releasestock_date";

        /*
         * 业务保单机构
         */
        public static final String BUSINESS_COM_CODE = "esale:business:comcode";


        /*
         * Planserver Map
         */
        public static final String PLAN_SERVER = "esale:plan:planserver:";

        public static final String CONFIG_MAP = "esale:config:";


        /*
         * 上级机构映射（规则用）
         */
        public static final String PLAN_RELATION = "esale:plan:relation:";


        public static final String PLAN_PROJECT = "decision:plan:project:";

        /*
         * 上级机构映射（机动余额用）
         */
        public static final String FLEXIBLE_RELATION = "esale:flexible:relation";

        /*
         * 机动余额
         */
        public static final String FLEXIBLE = "esale:flexible:";

        /*
         * 机构关联地市代码
         */
        public static final String COMCODE_CITY_RELATION = "esale:comcode:relation:";

        /*
         * 用户姓名
         */
        public static final String USER_NAME_MAP = "esale:user:name";
    }

    /**
     * 任务类型
     */
    public class TaskFlag {
        public static final String NORMAL = "0";
        public static final String AUTOTASK = "1";
    }

    /**
     * 任务状态
     */
    public class status {
        /**
         * 正常状态
         */
        public static final String NORMAL = "0";
        /**
         * 完成
         */
        public static final String FINISH = "1";
        /**
         * 分配
         */
        public static final String ASSIGNED = "2";
    }

    /**
     * 够买类型，收藏
     */
    public class BuyType {

        /**
         * 收藏，关注。
         */
        public static final String STORE = "0";

        /**
         * 购买，参加
         */
        public static final String BUY = "1";
    }


    /**
     * 签到标志位
     */
    public class SigininFlag {
        /**
         * 未签到
         */
        public static final String UNSIGNIN = "0";
        /**
         * 签到
         */
        public static final String SIGININ = "1";

        /**
         * 不需要签到
         */
        public static final String NOTNEEDSIGNIN = "2";

        /**
         * 未到签到时间。
         */
        public static final String NOTSIGNINTIME = "3";
    }


    /**
     * 授课方式
     */


    public class TeachMethod {

        /**
         * 面授
         */
        public static final String FACETOFACE = "0";
        /**
         * 预约
         */
        public static final String APPOINTMENT_FTF = "1";
        /**
         * 在线授课
         */
        public static final String ONLINE = "2";

        /**
         * 预约在线
         */
        public static final String APPOINTMENT_OL = "3";
        /**
         * 随到随学
         */
        public static final String LEARN_ANYTIME = "4";

    }


    public class CodeType {
        /**
         * 机构代码
         */
        public static final String COMCODE = "comCode";

        /**
         * 培训师
         */
        public static final String TRAINER = "trainer";
        /**
         * 用户清单
         */
        public static final String USERCODE = "UserCode";

        /**
         * 方案代码
         */
        public static final String PRODUCE_MIX = "produce_mix";


        public static final String INDICATORS_CONFIG = "IndicatorsConf";


        public static final String OCCUPATION = "occupation";


    }

    /**
     * 评价类型
     */
    public static class EvaluateType {
        /**
         * 实用
         */
        public static final Integer PRACTICAL = 1;
        /**
         * 简洁易懂
         */
        public static final Integer PITHILY = 2;
        /**
         * 逻辑清晰
         */
        public static final Integer LOGICALLY = 3;

    }


    public class Complete {
        /**
         * 未完成
         */
        public static final String UN_COMPLETE = "0";
        /**
         * 已转保单
         */
        public static final String POLICY = "2";
        /**
         * 完成
         */
        public static final String COMPLETE = "1";
    }

    /**
     * 测试完成标志位
     */
    public class TestFlag {
        /**
         * 非
         */
        public static final String NO = "0";

        /**
         * 是
         */
        public static final String YES = "1";
    }

    /**
     * 评分标志位
     */
    public class RateFlag {
        /**
         * 非
         */
        public static final String NO = "0";

        /**
         * 是
         */
        public static final String YES = "1";
    }

    /**
     * 连载标志位
     */
    public class SerializeFlag {
        /**
         * 非连载
         */
        public static final String NO = "0";

        /**
         * 连载
         */
        public static final String YES = "1";
    }

    /**
     * 学习标志位
     */
    public class StudyFlag {
        /**
         * 非连载
         */
        public static final String NO = "0";

        /**
         * 连载
         */
        public static final String YES = "1";
    }

    /**
     * 评价
     */
    public class Evaluate {
        /**
         * 未评价
         */
        public static final String NO = "0";
        /**
         * 已经评价
         */
        public static final String YES = "1";

    }

    public class WorkFlowBusinessNode {
        /**
         * 部门领导岗
         */
        public static final String PARTUWT = "partUwt";
        /**
         * 申请修改岗
         */
        public static final String APPLYMODIFY = "applyModify";
        /**
         * 教育培训领导岗
         */
        public static final String TRAINUWT = "trainUwt";
        /**
         * 教育培训岗
         */
        public static final String ONETRAIN = "oneTrain";
        /**
         * 申请评价岗
         */
        public static final String Score = "score";
        /**
         * 内训师确认岗
         */
        public static final String COMFIRE = "comfire";
        /**
         * 教育培训办结岗
         */
        public static final String TWOTRAIN = "twoTrain";


    }


    /**
     * 权限代码
     */
    public class PowerTaskCode {
        /**
         * 营销策略管理岗
         */
        public static final String IP_GIFT_MARKETPLANMANAGE = "IP_Gift_MarketPlanManage";
    }


    public class TrainerLevel {

        /**
         * 外部特聘
         */
        public static final String OUT_SPECIALLY_INVITE = "5";
        /**
         * 内部特聘
         */
        public static final String INT_SPECIALLY_INVITE = "6";
    }


    public class MainFlag {
        /**
         * 住渠道
         */
        public static final String YES = "1";
        /**
         * 福渠道
         */
        public static final String NO = "0";
    }

    /**
     * 定额方案
     */
    public class QuotaFlag {
        /**
         * 定额方案
         */
        public static final String YES = "1";
        /**
         * 非定额方案
         */
        public static final String NO = "0";
    }

    public class PlanMarketType {

        /**
         * 净保费比例
         */
        public static final String NET_PREMIUM = "1";
        /**
         * 保费比例
         */
        public static final String PREMIUM = "2";
        /**
         * 固定金额
         */
        public static final String FIXED_AMOUNT = "3";
        /**
         * 非车净保费比例
         */
        public static final String PRP_NET_PREMIUM = "4";
        /**
         * 非车保费比例
         */
        public static final String PRP_PREMIUM = "5";
    }


    public class StategyExtendData {

        /**
         * 归属机构
         */
        public static final String COMCODE = "comCode";

        /**
         * 产品id
         */
        public static final String PRODUCE_ID = "produceId";

        /**
         * 下单易key
         */
        public static final String PIPE_CODE = "pipeCode";
        /**
         * 用户代码
         */
        public static final String USERCODE = "userCode";

        /**
         * 投保清单
         */
        public static final String JDH_LIST = "jdh_list";
        /**
         * 方案代码
         */
        public static final String PRODUCEMIX_ID = "produce_mix_id";
        /**
         * 保额
         */
        public static final String SUMAMOUNT = "sumAmount";
        /**
         * 保费
         */
        public static final String SUMPRMEIUM = "sumPrmeium";

        public static final String FILENAME = "fileName";
        public static final String PAYTYPE = "payType";

        public static final String PRODUCEMIX_NAME = "producemix_name";

        /**
         * 延时投保
         */
        public static final String DELAY_INSURED_FLAG = "delay_insured_flag";

        /**
         * 原始产品
         */
        public static final String PRODUCE_CODE = "ProduceCode";

    }

    public class InsuredType {
        /**
         * 数据收集
         */
        public static final String DATACOLLECT = "0";
        /**
         * 投保
         */
        public static final String INSURED = "1";
        /**
         * 延迟投保
         */
        public static final String INSURED_DELAY = "2";

    }

    /**
     * 投保标识
     */
    public class MulitFlag {
        /**
         *
         */
        public static final String NO = "0";
        /**
         *
         */
        public static final String YES = "1";
    }

    /**
     * 投保人标识
     */
    public class InsuredPersonFlag {

        public static final String SAMPLE = "1";
    }

    public class ClaimFlag {
        /**
         * 正常
         */
        public static final String NOMARL = "0";
        /**
         * 提交
         */
        public static final String SUBMIT = "1";
        /**
         * 退回
         */
        public static final String RETURN_BACK = "2";
        /**
         * 审核通过
         */
        public static final String PASS = "3";
        /**
         * 结案
         */
        public static final String COMPLETE = "4";
        /**
         * 拒赔
         */
        public static final String REFUSE = "5";
        /**
         * 注销
         */
        public static final String CANCEL = "9";
    }

    public class InvoiceFlag {
        /**
         * 未开
         */
        public static final String NORAML = "0";
        /**
         * 完成
         */
        public static final String COMPLETE = "1";
        /**
         * 作废
         */
        public static final String CANCEL = "2";
    }

    public class StockType {
        /**
         * 总库存
         */
        public static final String MAIN_STOCK = "0";
        /**
         * 分组库存
         */
        public static final String GROUP_STOCK = "1";
    }

    public class DeptType {
        /**
         * 总组别
         */
        public static final String MAIN_DEPT = "0";

        /**
         * 一级组别（南中心、续保中心）
         */
        public static final String FIRST_DEPT = "1";

        /**
         * 二级组别
         */
        public static final String SECOND_DEPT = "2";

    }


    public class SubValidFlag {
        /**
         * 下级可用
         */
        public static final String VALID = "1";

        /**
         * 下级不可用
         */
        public static final String INVALID = "0";

    }


    public class MartPlanType {
        public static final String TYPE_0 = "0";
        public static final String TYPE_1 = "1";
        public static final String TYPE_2 = "2";
        public static final String TYPE_3 = "3";
        public static final String TYPE_4 = "4";

        public static final String TYPE_100 = "100";
        public static final String TYPE_101 = "101";
        public static final String TYPE_102 = "102";
        public static final String TYPE_103 = "103";
        public static final String TYPE_104 = "104";
        public static final String TYPE_105 = "105";
        public static final String TYPE_106 = "106";
        public static final String TYPE_107 = "107";
        public static final String TYPE_108 = "108";
        public static final String TYPE_109 = "109";
        //        上年配送
        public static final String TYPE_110 = "110";
    }

    public class DateFormat {
        /**
         * 日期格式 yyyy-MM-dd
         */
        public static final String Date = "yyyy-MM-dd";

        /**
         * 日期格式 yyyy-MM-dd HH:mm:ss
         */
        public static final String DateTime = "yyyy-MM-dd HH:mm:ss";

    }


    public class GoodsParentType {
        public static final String CASH = "0";
        public static final String GIFT = "1";
    }

    public class UwtType {
        /**
         * 普通方案
         */
        public static final String NORAML = "0";
        /**
         * 机动方案
         */
        public static final String OVER_LIMIT = "1";
        /**
         * 特殊方案
         */
        public static final String OVER_UPPER_LIMT = "2";
        /**
         * 手机号不相同
         */
        public static final String NORAML_PHONE_NOT_SAMPLE = "3";
        /**
         * 手机号不相同
         */
        public static final String OVER_LIMIT_PHONE_NOT_SAMPLE = "4";
        /**
         * 手机号不相同
         */
        public static final String OVER_UPPER_LIMT_PHONE_NOT_SAMPLE = "5";
    }

    /**
     * 配置
     */
    public class ConfigType {
        /**
         * 机动额度限制类型
         */
        public static final String FLEXIBLE_LIMIT_TYPE = "flexibleLimitType";
        /**
         * 匹配规则时间类型
         */
        public static final String MATCH_PLAN_TYPE = "matchPlanType";
        /**
         * 非结构化
         */
        public static final String E_IMAGE_URL = "eImageUrl";
        /**
         * 银行流水账号
         */
        public static final String BANK_FLOW_ACCOUNT = "bankFlowAccount";
        /**
         * 银行流水收付机构
         */
        public static final String SFF_COM_CODE = "sffComCode";
        /**
         * 是否进行FD校验标志
         */
        public static final String IS_FD_VALID_FLAG = "isFDValidFlag";
        /**
         * 新增规则倒签时间长度
         */
        public static final String ADD_PLAN_BACK_DATE = "addPlanBackDate";
    }

    /**
     * @param
     * @author chenxiqing
     * @description ApiResponse常量
     * @date 2020/4/13 16:45
     * @return
     */
    public class ApiResponse {
        public static final int SUCCESS = 0;
        public static final int FAIL = -1;
        public static final String SUCCESS_TEXT = "Success";
        public static final String FAIL_TEXT = "Fail";
    }

    public class PlanServer {
        public static final String PLAN_VALID_START_TIME = "esale:plan:validst";
        public static final String PLAN_VALID_END_TIME = "esale:plan:validdt";
    }

    /**
     * @author qiuqiquan
     * @description 电商接口返回请求标志位
     * @date 2020/4/23 12:38
     */
    public class CustomerServiceFlag {
        public static final String CUSTOMER_SERVICE_OK = "ok";
        public static final String CUSTOMER_SERVICE_FAIL = "fail";
    }

    /**
     * @author qiuqiquan
     * @description 电商批次是否上传完毕标志位
     * @date 2020/4/23 12:38
     */
    public class CmsBatchStatus {
        public static final String CMSBATCH_STATUS_DONE = "2";
        public static final String CMSBATCH_STATUS_UNDONE = "1";
    }

    /**
     * @author qiuqiquan
     * @description 电商批次上传状态标志位
     * @date 2020/4/23 12:38
     */
    public class CmsBatchUploadFlag {
        public static final String CMSBATCH_UPLOADFLAG_INCEPTION = "0";
        public static final String CMSBATCH_UPLOADFLAG_UNDONE = "1";
        public static final String CMSBATCH_UPLOADFLAG_SUCCESS = "2";
        public static final String CMSBATCH_UPLOADFLAG_FAIL = "3";
    }

    /**
     * @author qiuqiquan
     * @description 电商批次是否白名单客户
     * @date 2020/4/23 12:38
     */
    public class CmsBatchInterest {
        public static final String CMSBATCH_INTEREST = "01";
    }

    /**
     * @author qiuqiquan
     * @description 电商批次业务类型
     * @date 2020/4/23 12:38
     */
    public class CmsBatchSaletype {
        public static final String CMSBATCH_SALETYPE_CALLIN = "A";
        public static final String CMSBATCH_SALETYPE_CALLIN_NAME = "呼入";
        public static final String CMSBATCH_SALETYPE_CALLOUT = "B";
        public static final String CMSBATCH_SALETYPE_CALLOUT_NAME = "呼出";
        public static final String CMSBATCH_SALETYPE_RENEWAL = "C";
        public static final String CMSBATCH_SALETYPE_RENEWAL_NAME = "续保";
        public static final String CMSBATCH_SALETYPE_GUIDEESALE = "D";
        public static final String CMSBATCH_SALETYPE_GUIDEESALE_NAME = "引导电销";
        public static final String CMSBATCH_SALETYPE_PREPOSITION = "M";
        public static final String CMSBATCH_SALETYPE_PREPOSITION_NAME = "前置";
        public static final String CMSBATCH_SALETYPE_CARRELATIVE = "1";
        public static final String CMSBATCH_SALETYPE_CARRELATIVE_NAME = "车电联呼";
        public static final String CMSBATCH_SALETYPE_SUPPORTOR = "E";
        public static final String CMSBATCH_SALETYPE_SUPPORTOR_NAME = "支持人员";
        public static final String CMSBATCH_SALETYPE_QUALITY_TEST = "F";
        public static final String CMSBATCH_SALETYPE_QUALITY_TEST_NAME = "质检";
        public static final String CMSBATCH_SALETYPE_REVISIT = "G";
        public static final String CMSBATCH_SALETYPE_REVISIT_NAME = "回访";
        public static final String CMSBATCH_SALETYPE_APPOINT_INSURE = "H";
        public static final String CMSBATCH_SALETYPE_APPOINT_INSURE_NAME = "预约投保";
        public static final String CMSBATCH_SALETYPE_COMPLAINT = "I";
        public static final String CMSBATCH_SALETYPE_COMPLAINT_NAME = "投诉";
        public static final String CMSBATCH_SALETYPE_ENDORSEMENT = "J";
        public static final String CMSBATCH_SALETYPE_ENDORSEMENT_NAME = "批单";
        public static final String CMSBATCH_SALETYPE_PRPINSURE = "K";
        public static final String CMSBATCH_SALETYPE_PRPINSURE_NAME = "非车";
        public static final String CMSBATCH_SALETYPE_CPS = "L";
        public static final String CMSBATCH_SALETYPE_CPS_NAME = "CPS";
        public static final String CMSBATCH_SALETYPE_WECHAT_CARINSURE = "Y";
        public static final String CMSBATCH_SALETYPE_WECHAT_CARINSURE_NAME = "人保微信车险";
        public static final String CMSBATCH_SALETYPE_NEW_MEDIA = "3";
        public static final String CMSBATCH_SALETYPE_NEW_MEDIA_NAME = "新媒体";
        public static final String CMSBATCH_SALETYPE_ESALE_NETWORK_RELATIVE = "4";
        public static final String CMSBATCH_SALETYPE_ESALE_NETWORK_RELATIVE_NAME = "电网融合";
        public static final String CMSBATCH_SALETYPE_OTHER = "Z";
        public static final String CMSBATCH_SALETYPE_OTHER_NAME = "其它";
        public static final String CMSBATCH_SALETYPE_NEWWORK_NATURE = "R";
        public static final String CMSBATCH_SALETYPE_NEWWORK_NATURE_NAME = "网销自然业务";
        public static final String CMSBATCH_SALETYPE_NEWWORK_GROUP = "S";
        public static final String CMSBATCH_SALETYPE_NEWWORK_GROUP_NAME = "网销团购业务";
        public static final String CMSBATCH_SALETYPE_MOBILE_NATURE = "T";
        public static final String CMSBATCH_SALETYPE_MOBILE_NATURE_NAME = "移动端自然业务";
        public static final String CMSBATCH_SALETYPE_MOBILE_GROUP = "U";
        public static final String CMSBATCH_SALETYPE_MOBILE_GROUP_NAME = "移动端团购业务";
    }

    /**
     * @author qiuqiquan
     * @description 电商批次上报数据类型
     * @date 2020/4/23 12:38
     */
    public class CmsBatchDatatype {
        public static final String CMSBATCH_DATATYPE_TRADITION_RENEWAL = "1";
        public static final String CMSBATCH_DATATYPE_TRADITION_RENEWAL_NAME = "传统续保数据";
        public static final String CMSBATCH_DATATYPE_COOPERATE_DATA = "4";
        public static final String CMSBATCH_DATATYPE_COOPERATE_DATA_NAME = "合作数据";
        public static final String CMSBATCH_DATATYPE_TRADITION_UNINSURE = "6";
        public static final String CMSBATCH_DATATYPE_TRADITION_UNINSURE_NAME = "传统脱保数据";
        public static final String CMSBATCH_DATATYPE_CAR_STORE = "7";
        public static final String CMSBATCH_DATATYPE_CAR_STORE_NAME = "车行数据";
        public static final String CMSBATCH_DATATYPE_GUIDE_RENEWAL = "8";
        public static final String CMSBATCH_DATATYPE_GUIDE_RENEWAL_NAME = "引导续保队列";
        public static final String CMSBATCH_DATATYPE_NETWORK_CALLOUT = "9";
        public static final String CMSBATCH_DATATYPE_NETWORK_CALLOUT_NAME = "网销呼出队列";
        public static final String CMSBATCH_DATATYPE_PRPINSURE = "10";
        public static final String CMSBATCH_DATATYPE_PRPINSURE_NAME = "非车险数据";
        public static final String CMSBATCH_DATATYPE_TRADITION_SPECIAL_RENEWAL = "13";
        public static final String CMSBATCH_DATATYPE_TRADITION_SPECIAL_RENEWAL_NAME = "传统专属续保数据";
        public static final String CMSBATCH_DATATYPE_CARRELATIVE = "14";
        public static final String CMSBATCH_DATATYPE_CARRELATIVE_NAME = "车电联呼数据";
        public static final String CMSBATCH_DATATYPE_LOVE = "24";
        public static final String CMSBATCH_DATATYPE_LOVE_NAME = "保单关怀数据";
    }

    /**
     * @author qiuqiquan
     * @description 电商批次是否进入队列
     * @date 2020/4/23 12:38
     */
    public class CmsBatchiscqueue {
        public static final String CMSBATCH_ISCQUEUE_YES = "Y";
        public static final String CMSBATCH_ISCQUEUE_NO = "N";
    }

    /**
     * @author qiuqiquan
     * @description 电商批次自动导入状态标志位
     * @date 2020/4/23 12:38
     */
    public class CmsBatchAutoImportFlag {
        public static final String CMSBATCH_AUTOIMPORT_INCEPTION = "0";
        public static final String CMSBATCH_AUTOIMPORT_SUCCESS = "1";
        public static final String CMSBATCH_AUTOIMPORT_FAIL = "2";
    }

    /**
     * @author qiuqiquan
     * @description 电商批次自动导入CHECK标志位
     * @date 2020/4/23 12:38
     */
    public class CmsBatchAutoImportDoqueue {
        public static final String BUILD_QUEUE_RULE = "2";
    }

    /**
     * @author qiuqiquan
     * @description 电商批次自动导入CHECK标志位
     * @date 2020/4/23 12:38
     */
    public class CmsBatchAutoImportCheckFlag {
        public static final String CMSBATCH_AUTOIMPORT_CHECKED = "Y";
        public static final String CMSBATCH_AUTOIMPORT_UNCHECKED = "N";
    }

    /**
     * @author qiuqiquan
     * @description 电商批次自动导入重点客户标志位
     * @date 2020/4/23 12:38
     */
    public class CmsBatchAutoImportCusTomerFlag {
        public static final String CMSBATCH_AUTOIMPORT_IMPORTCUSTOMER_YES = "1";
        public static final String CMSBATCH_AUTOIMPORT_IMPORTCUSTOMER_NO = "0";
    }

    /**
     * @author qiuqiquan
     * @description 电商接口table
     * @date 2020/4/23 12:38
     */
    public class CmsBatchTableName {
        public static final String CMSBATCH_DATAUPLOAD_TS_UPLOAD_BATCH = "ts_upload_batch";
        public static final String CMSBATCH_DATAUPLOAD_TS_UPLOAD_DATA = "ts_upload_data";
        public static final String CMSBATCH_AUTOIMPORT_DO_QUEUE = "do_queue";
        public static final String CMSBATCH_AUTOIMPORT_IMPORT = "import";
        public static final String CMSBATCH_GETDATAUPLOADINFO_MAININFO = "maininfo";
    }

    /**
     * @author qiuqiquan
     * @description 电商接口序号
     * @date 2020/4/23 12:38
     */
    public class CmsInterfaceNo {
        public static final String INTERFACE_NO_DATAUPLOAD = "1";
        public static final String INTERFACE_NO_AUTOIMPORT = "2";
        public static final String INTERFACE_NO_GETDATAUPLOADINFO = "3";
    }

    /**
     * @author qiuqiquan
     * @description 电商接口返回报文编码
     * @date 2020/4/23 12:38
     */
    public class CmsInterfaceEncoding {
        public static final String INTERFACE_ENCODING_DATAUPLOAD = "UTF-8";
        public static final String INTERFACE_ENCODING_AUTOIMPORT = "GBK";
        public static final String INTERFACE_ENCODING_GETDATAUPLOADINFO = "UTF-8";
    }

    /**
     * @description 电商导入客户数据信息提取接口参数
     * @author qiuqiquan
     * @date 2020/4/23 12:38
     */
    public static final String CMS_INTERFACE_GETUPLOADINFO_METHOD = "importfailed";

    /**
     * @author qiuqiquan
     * @description 字符串填充
     * @date 2020/5/09 16:27
     */
    public class SupplementString {
        public static final String CITY_COMCODE_TAIL = "0000";
    }

    /**
     * @author qiuqiquan
     * @description 机动额度限制类型
     * @date 2020/5/09 16:27
     */
    public class FlexibleLimitType {
        //不允许扣减到0以下
        public static final String LIMIT_ZERO = "0";
        //不限制
        public static final String UNLIMIT = "1";
    }

    /*
     * @description 匹配规则时间类型
     * @author Lijialiang
     * @date 2020/5/11 11:40
     * @param null
     * @return
     */
    public class MatchPlanTime {
        //核保通过时间
        public static final String UNDER_WRITE_END_DATE = "underWriteEndDate";
        //转保单时间
        public static final String POLICY_DATE = "policyDate";
    }

    /*
     * @description 流程code
     * @author Lijialiang
     * @date 2020/5/12 18:14
     * @param null
     * @return
     */
    public class FlowCode {
        //超时审批流程
        public static final String OVER_TIME_PROCESS = "overTimeProcess";
        //超机动最高点数审批流程
        public static final String OVER_MAX_LIMIT_PROCESS = "overMaxLimitProcess";
        //超普通最高点数审批流程
        public static final String OVER_FLEX_LIMIT_PROCESS = "overFlexLimitProcess";
        //手机号修改流程
        public static final String PHONE_PROCESS = "phoneProcess";
    }

    public class ComType {
        //电商
        public static final String DX = "3";
    }

    public class SchedulerName {
        //更新保单信息
        public static final String GET_BASECMAIN = "更新保单信息";
        //更新库存
        public static final String UPDATE_STOCK = "更新库存";
        //更新机动余额
        public static final String UPDATE_FLEXIBLE = "更新机动余额";
        //获取坐席业绩清单
        public static final String GET_BASE_PREPARE = "获取坐席业绩清单";
        //补充非车保单信息
        public static final String GET_BASECMAIN_PRP = "补充非车保单信息";
    }

    /**
     * @author qiuqiquan
     * @description 名单管理：数据分配标志
     * @date 2020/5/28 12:38
     */
    public class CmsDealFlag {
        // 0 - 未分配  1 - 已分配
        public static final String UNDEALED_FLAG = "0";
        public static final String DEALED_FLAG = "1";
    }

    /**
     * @author qiuqiquan
     * @description 名单管理：数据类型
     * @date 2020/5/28 12:38
     */
    public class CmsBaseType {
        //01：平台续保
        //02：传统续保
        //03：平台脱保
        //04：传统脱保
        //05：外部数据
        //06：自定义数据
        public static final String ELECTRIC_BUSINESS_RENEWAL_FLAG = "01";
        public static final String TRADITION_RENEWAL_FLAG = "02";
        public static final String ELECTRIC_BUSINESS_UNINSURE_FLAG = "03";
        public static final String TRADITION_UNINSURE_FLAG = "04";
        public static final String COOPERATE_FLAG = "05";
        public static final String CUSTOMER_FLAG = "06";
    }

    /**
     * @author qiuqiquan
     * @description 名单管理：分配信息上传状态标志
     * @date 2020/5/28 12:38
     */
    public class CmsAssignStatus {
        //0：待上传
        //1：已上传
        //2：上传失败
        public static final String UNUPLOADED_FLAG = "0";
        public static final String UPLOADED_SUCCESS_FLAG = "1";
        public static final String UPLOADED_FAIL_FLAG = "2";
    }

    /**
     * @author qiuqiquan
     * @description 名单管理：分配信息上传状态标志
     * @date 2020/5/28 12:38
     */
    public class CmsAssignResult {
        public static final String SUCCESS = "success";
        public static final String FAIL = "fail";
    }

    /**
     * @author qiuqiquan
     * @description 名单管理：分配信息认领标志
     * @date 2020/5/28 12:38
     */
    public class CmsAssignClaimFlag {
        //0：待认领
        //1：已认领
        //2：已认领
        public static final String UNCLAIMEDED_FLAG = "0";
        public static final String CLAIMEDED_FLAG = "1";
        public static final String UNABLE_FLAG = "2";
    }

    /**
     * @author chenxiqing
     * @description
     * @date 2020/5/29 14:31
     * @return
     */
    public class FileUploadConfig {
        public static final String consumerID = "ESALE";
        public static final String optRole = "ES_U_001";
        public static final String optComCode = "44000000";
        public static final String optUserCode = "esale4400";
        public static final String bussCom = "44000000";
        public static final String bussType = "GD_ES";
        public static final String bussNo = "ESALEFILE";
        public static final String riskCode = "";
        public static final String imgType = "|ES_A01|";
        public static final String imgTypeName = "|省电商系统文件|";
    }

    /**
     * @author qiuqiquan
     * @description 名单管理分配结果类型
     * @date 2020/6/12 12:14
     * @return
     */
    public class CmsAssignResultFlag {
        public static final String COMPANY = "3";
        public static final String GROUP = "2";
        public static final String USER = "1";
    }

    /**
     * @author qiuqiquan
     * @description 名单管理-电商融合系统操作用户
     * @date 2020/6/23 10:33
     */
    public class CmsBatchCrusr {
        public static final String GZ = "44010009";
    }

    /**
     * @author qiuqiquan
     * @description 营销管理-广州个性-是否FD标志位判断
     * @date 2020/6/23 10:33
     */
    public class IsFDValidFlag {
        public static final String VALID = "1";
        public static final String UNVALID = "0";
    }

    /**
     * @author qiuqiquan
     * @description 名单管理-广州个性-人员是否在职
     * @date 2020/6/23 10:33
     */
    public class IsWork {
        public static final String YES = "1";
        public static final String NO = "0";
    }

    /**
     * @author qiuqiquan
     * @description 名单管理-广州个性-分配结果获取方式
     * @date 2020/6/23 10:33
     */
    public class AssignResultMethod {
        //根据结果队列的组内人数权重分配
        public static final String GETWEIGHT = "getWeight";
        //根据原经办人分配
        public static final String GETPERSON = "getPerson";
    }

    /**
     * @author qiuqiquan
     * @description 名单管理-广州个性-分配结果类型
     * @date 2020/6/23 10:33
     */
    public class RuleResultCode {
        //人员
        public static final String USER = "user";
        //业务组
        public static final String GROUP = "group";
        //部门
        public static final String COMPANY = "company";
    }


    public class ProductType {

        public static final String ENTITY = "0";
        public static final String FICTITIOUS = "1";
    }

    /**
     * @param null
     * @author liuyu
     * @description
     * @date 2020/9/7 15:13
     * @return
     */
    public class TransmitType {
        public static final String NORMAL = "0";
        public static final String TRANSMITTYPE_UP = "1";
        public static final String TRANSMITTYPE_DOWN = "2";
    }

    /**
     * @param null
     * @author liuyu
     * @description 匹配分组规则
     * @date 2020/9/7 16:44
     * @return
     */
    public class PlanGroupType {
        public static final String COM_CODE = "0";
        public static final String MONOPOLY_CODE = "1";
    }
}

